body,html{
    width: 100%;
}

html{
    font-size: 16px;
}
@media screen and (max-width: 420px){
    html{
        font-size: 12px;
    }
}


@media screen and (max-width: 320px) {
    body,html{
        width: 320px !important;
    }
}

*{
    box-sizing: border-box;
}

.navbar{
    width: 100%;
    height: 70px;
    padding: 10px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    img{
        height: 100%;
        &:nth-child(1){
            padding-right: 15px;
            border-right: 1px solid rgba(103, 102, 102, 0.532);
        }
        &:nth-child(3){
            padding-left: 15px;
            border-left: 1px solid rgba(103, 102, 102, 0.532);
        }
    }
}

.swiper{
    width: 100%;
    height: auto;
    img{
        width: 100%;
    }
}

.title{
    width: max-content;
    height: 30px;
    font-size: 1.5rem;
    margin: -35px auto 0 auto;
    // position: absolute;
    // top: -15px;
    // left: calc(50% - 50px);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content1{
    width: 100%;
    height: auto;
    position: relative;
    border-top: 1px solid rgba(103, 102, 102, 0.532);
    margin-top: 30px;
    padding: 20px 0 0 0;
    &>div{
        &:nth-child(2){
            display: flex;
            align-items: center;
            justify-content: space-around;
            .img{
                width: 12%;
                height: auto;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                img{
                    width: 100%;
                }
                div{
                    font-size: 1rem;
                    display: flex;
                    flex-wrap: nowrap;
                    align-items: center;
                    justify-content: center;
                }
            }
        }
        &:nth-child(3){
            width: 100%;
            height: auto;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            margin-top: 20px;
            .content{
                width: calc(100% / 3);
                img,
                div{
                    width: 100%;
                }
                &:nth-child(2n){
                    padding: 1.25rem;
                    p{
                        font-size: 1.6rem;
                        &:nth-child(1){
                            font-weight: 900;
                            font-size: 2rem;
                        }
                    }
                    
                }
            }
        }
    }
}
@media screen and (max-width: 500px) {
    .navbar{
        height: 50px;
    }

    .content1{
        &>div{
            &:nth-child(3){
                .content{
                    &:nth-child(2n){
                        padding: 20px;
                        p{
                            font-size: .8rem;
                            &:nth-child(1){
                                font-weight: 900;
                                font-size: 1.2rem;
                            }
                        }
                    }
                }
            }
        }
    }
}

.content2{
    width: 100%;
    height: auto;
    position: relative;
    border-top: 1px solid rgba(103, 102, 102, 0.532);
    margin-top: 30px;
    padding: 20px 0 0 0;
    &>img{
        width: 100%;
        margin: 10px auto;
    }
    div{
        &:nth-last-child(1){
            display: flex;
            align-items: center;
            justify-content: space-around;
            div{
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.2rem;
                color: white;
                font-weight: 900;
                img{
                    width: 1.2rem;
                    margin-right: 10px;
                }
                &:nth-child(1){
                    width: 45%;
                    height: 100px;
                    background-color: #3b5998;
                }
                &:nth-child(2){
                    width: 45%;
                    height: 100px;
                    background-color: #55acee;
                }
            }
        }
    }
}

.content3{
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(103, 102, 102, 0.532);
    margin-top: 20px;
    padding: 20px 0 100px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    .info{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 0 20px;
        margin-bottom: 10px;
        font-size: 1rem;
        img{
            width: 2rem;
            height: 2rem;
            border: 1px solid gray;
            margin-right: 10px;
        }
        &:nth-child(3){
            display: flex;
            align-items: center;
            justify-content: space-around;
            &>div{
                display: flex;
                align-items: center;
                justify-content: center;
                margin-right: 20px;
            }
        }
    }
    &>div{
        &:nth-last-child(1){
            width: 100%;
            height: 300px;
        }
    }
}
@media screen and (max-width: 360px) {
    .content3{
        .info{
            font-size: .8rem;
            img{
                width: 1.4rem;
                height: 1.4rem;
            }
        }
    }
}

.bottom {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    .img{
        width: 25%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        font-size: 1rem;
        &:hover{
            background-color: #55acee;
            color: white;
        }
    }   
}